\documentclass[12pt, letter]{article}

\usepackage[latin1]{inputenc}
% Set margins
\usepackage{geometry}
\geometry{margin=0.95in, bottom = 0.8in}
%
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[para]{threeparttable}
\usepackage{setspace}
%% bibliography
\usepackage[american]{babel}
\usepackage{natbib}
\setcitestyle{aysep={}}
\usepackage[breaklinks=true]{hyperref}
\usepackage{breakcites} % to force cites to respect margins

\usepackage{graphicx}

\usepackage{tikz}
\usepackage{verbatim,lscape}
\usepackage{ae,aecompl}
\usepackage{fancyhdr}
\usepackage{rotating}
\usepackage{dcolumn}
\usepackage{amsmath,setspace,natbib,dcolumn}
\newtheorem{proposition}{Proposition}
\newtheorem{hypothesis}{Hypothesis}
\usepackage{authblk}
\usepackage{amsmath}
\usepackage{array}
\usepackage{color}
\usepackage{multirow}
\usepackage{amssymb}
\usepackage{enumerate}
\usepackage{parskip}
\usepackage{booktabs}
\usepackage{pdflscape}
\usepackage{lscape}
%\usepackage{tablefootnote}
\setlength{\parindent}{12pt}
\usepackage{todonotes}
\usepackage{hyperref}
\usepackage{longtable}

\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\usepackage{epstopdf} 
\usepackage{dcolumn}
\usepackage{soul} %  creating a strikethrough font
\usepackage{fixltx2e} % For subscripts
%\usepackage{slashbox} % to divide cells into tables
\usepackage{url}
\usepackage{placeins}
%% for footnotes
\usepackage[flushmargin,hang]{footmisc}
\renewcommand{\footnotelayout}{\doublespacing} % set spacing in footnotes
\newlength{\myfootnotesep}
\setlength{\myfootnotesep}{\baselineskip}
\addtolength{\myfootnotesep}{-\footnotesep}
\setlength{\footnotesep}{\myfootnotesep} % set spacing between footnotes
\renewcommand{\footnotesize}{\normalsize}
\addtolength{\footnotesep}{3mm}
% 
%% Captions
\usepackage[labelsep=period,labelfont=sc]{caption}
\captionsetup[table]{skip=10pt}



%%Erasing meta-PDF information:
\pdfinfo{
	/Title ()
	/Creator ()
	/Producer ()
	/Author ()
	/Subject ()
	/Keywords ()
}

% Hypreff set up
%\hypersetup{
%    colorlinks,
%    linkbordercolor = {white},
%    linkcolor={black},
%    citecolor={black},
%    urlcolor={black},
%    breaklinks=true
%   }
\def\UrlBreaks{\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\%\do\;\do\>\do\]% 
	\do\)\do\,\do\?\do\'\do\+\do\=\do\#\do\-}% 
\Urlmuskip=0mu plus 1mu % 

% Itemize set up
\newenvironment{my_itemize}{
	\begin{itemize}
		\setlength{\itemsep}{1pt}
		\setlength{\parskip}{0pt}
		\setlength{\parsep}{0pt}}{\end{itemize}
}


\addtolength{\skip\footins}{2pc plus 4pt}

\setlength{\parskip}{0em}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
	
	
	%\input{JOP_RevisionMemo}
	
	%\newpage
	
	\title{
		Trojan Horse, Copycat, or Scapegoat?\\ Unpacking the Refugees-Terrorism Nexus \\
		\vspace{1cm}
		\large{\textit{The Journal of Politics}}}
	
	\author{
		\vspace{1.5 cm}
		Sara M.T. Polo  \\
		\vspace{-0.4 cm}
		Department of Government, University of Essex \\ 
		Wivenhoe Park, Colchester CO4 3SQ, United Kingdom \\
		\url{sara.polo@essex.ac.uk} \\
		\vspace{1 cm}
		Julian Wucherpfennig  \\
		Hertie School \\
		Friedrichstra{\ss}e 180, 10117 Berlin, Germany \\
		\url{wucherpfennig@hertie-school.org}
	}
	
	\date{}

	\maketitle
	
	\thispagestyle{empty}
	


	\newpage
	\section{Tables and Figures in Main Document}
	\begin{figure}[h!]
		\caption{Percent believing terrorists are pretending to be refugees}
		\includegraphics[width=\textwidth]{fg1}
	\end{figure}


	\begin{figure}[h!]
		\caption{Attacks on refugees conditional on history of severe transnational terrorism}
		\includegraphics[width=\textwidth]{fg2}
	\end{figure}	
	
	% Table 1
	\input{table.FE.tex}
	% Table 2
	\input{table.IV.tex}
	
	\section{Tables and Figures in Supporting Information}
	\setcounter{table}{0}
	\renewcommand{\thetable}{A\arabic{table}}
	\setcounter{figure}{0} 
	\renewcommand{\thefigure}{A\arabic{figure}}
	% Figure A1: Trends
	\begin{figure}[h!]
		\caption{Trends in refugee stocks and terrorist attacks}
		\includegraphics[width=\textwidth]{fgA1}
	\end{figure}
	% Table A1: descriptives
	\input{table.DESC.tex}
	% Table A2
	\input{table.INTERACTIONS.tex}
	% Table A3
	\input{table.RV.tex}
	% Table A4
	\input{table.PLAC.tex}
	% Table A5: Dyadic Zero Stage
	\input{table.IV.ZERO.tex}	
	% Table A6: IV First Stage
	\input{table.IV.FIRST.tex}
	% Table A7: Fatalities
	\input{table.KILL.tex}
	% Table A8: Imputed
	\input{table.MARBACH.tex}
	% Table A9: Post 9/11
	\input{table.911.tex}
	% Table A10: Muslim vs Non-Muslim
	\input{table.MUSLIM.tex}
	% Table A11: Terrorism vs. civil war in sending state
	\input{table.tntcw.tex}
	% Table A12: lagged DV
	\input{table.ldv.tex}
	% Table A13: lagged DV
	\input{table.cldv.tex}
	% Table A14: dyadic data
	\input{table.dyadic.tex}
	% Table A15: count models
	\input{table.COUNT.tex}	

	% Figure A2: density plots	
	\begin{figure}[h!]
	\caption{Density plots for refugee variables}
	\includegraphics[width=.3\textwidth]{ref_dens}
	\includegraphics[width=.3\textwidth]{ref_dens_noecd}
	\includegraphics[width=.3\textwidth]{ref_dens_oecd}
	\end{figure}

	% Figure A3: Refugees and resettled refugees in OECD countries
	\begin{figure}[h!]
	\caption{Refugees and resettled refugees in OECD countries}
	\centering
	\includegraphics[width=.5\textwidth]{fgA3}
	\end{figure}

	% Figure A4: Refugees and resettled refugees in OECD countries
	\begin{figure}[h!]
	\caption{Refugees and resettled refugees in specific OECD countries}
	\centering
	\includegraphics[width=.9\textwidth]{fgA4}
	\end{figure}

\end{document}
